package cn.edu.wfit.modules.infomanagement.mapper;

import java.util.List;
import cn.edu.wfit.modules.infomanagement.domain.Dormbuilding;

/**
 * 书院维护Mapper接口
 * 
 * @author 韩强
 * @date 2024-11-18
 */
public interface DormbuildingMapper 
{
    /**
     * 查询书院维护
     * 
     * @param dormbuildingId 书院维护主键
     * @return 书院维护
     */
    public Dormbuilding selectDormbuildingByDormbuildingId(Long dormbuildingId);

    /**
     * 查询书院维护列表
     * 
     * @param dormbuilding 书院维护
     * @return 书院维护集合
     */
    public List<Dormbuilding> selectDormbuildingList(Dormbuilding dormbuilding);

    /**
     * 新增书院维护
     * 
     * @param dormbuilding 书院维护
     * @return 结果
     */
    public int insertDormbuilding(Dormbuilding dormbuilding);

    /**
     * 修改书院维护
     * 
     * @param dormbuilding 书院维护
     * @return 结果
     */
    public int updateDormbuilding(Dormbuilding dormbuilding);

    /**
     * 删除书院维护
     * 
     * @param dormbuildingId 书院维护主键
     * @return 结果
     */
    public int deleteDormbuildingByDormbuildingId(Long dormbuildingId);

    /**
     * 批量删除书院维护
     * 
     * @param dormbuildingIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDormbuildingByDormbuildingIds(Long[] dormbuildingIds);
}
